﻿Public Class SozlesmeArsivGiris

 
    Private Sub SozlesmeArsivBilgileriBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SozlesmeArsivBilgileriBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.SozlesmeArsivBilgileriBindingSource.EndEdit()
        Me.TableAdapterManager.UpdateAll(Me.SozlesmeArsivDataSet)

    End Sub

    Private Sub FillToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FillToolStripButton.Click
        Try
            Me.SozlesmeArsivBilgileriTableAdapter.FillSozno(Me.SozlesmeArsivDataSet.SozlesmeArsivBilgileri, SozNoToolStripTextBox.Text)
        Catch ex As System.Exception
            System.Windows.Forms.MessageBox.Show(ex.Message)
        End Try

    End Sub

    Private Sub SozlesmeArsivGiris_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'GumrukLookUpDataSet.GumrukAdları' table. You can move, or remove it, as needed.
        Me.GumrukAdlarıTableAdapter.Fill(Me.GumrukLookUpDataSet.GumrukAdları)
        'TODO: This line of code loads data into the 'MusavirDataSet.Firmalar' table. You can move, or remove it, as needed.
        Me.FirmalarTableAdapter.FillMusavir(Me.MusavirDataSet.Firmalar)
        SozNoToolStripTextBox.Text = SozlesmeGiris.SozNoMaskedTextBox.Text
        Me.SozlesmeArsivBilgileriTableAdapter.FillSozno(Me.SozlesmeArsivDataSet.SozlesmeArsivBilgileri, SozNoToolStripTextBox.Text)
    End Sub
End Class